<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head th:fragment="head(title,links)">
    <meta charset="UTF-8">
    <!--用来设置不同的title -->
    <title th:replace="${title}">title</title>
    <!--添加公共的css和js-->
    <link rel="stylesheet"type="text/css"media="all" th:href="@{/css/comm.css}">
    <script type="text/javascript" th:src="@{/js/comm.js}"></script>
    <!--用来天际大私有的css-->
    <th:block th:replace="${links}"/>
</head>
<body>

</body>
</html>